/*
author:  陈楚城
create:  2019.4.28
description：调换宿舍信息的实体类
*/
package edu.uni.dormitory.bean;

import java.util.Date;
/*
调换宿舍信息表的实体类
 */
public class RoomExchange {
    //数据表的唯一编号ID
    private Long id;
    //调换前所在床位
    private Long beforeBedId;
    //调换后所在床位
    private Long afterBedId;
    //调换执行日期
    private Date exchangeDate;
    //执行人
    private Long exchangePerson;
    //所属审核记录ID
    private Long processId;
    //本记录的创建时间
    private Date datetime;
    //创建人
    private Long byWho;
    //本记录是否有效 0：有效 1：无效
    private Byte deleted;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBeforeBedId() {
        return beforeBedId;
    }

    public void setBeforeBedId(Long beforeBedId) {
        this.beforeBedId = beforeBedId;
    }

    public Long getAfterBedId() {
        return afterBedId;
    }

    public void setAfterBedId(Long afterBedId) {
        this.afterBedId = afterBedId;
    }

    public Date getExchangeDate() {
        return exchangeDate;
    }

    public void setExchangeDate(Date exchangeDate) {
        this.exchangeDate = exchangeDate;
    }

    public Long getExchangePerson() {
        return exchangePerson;
    }

    public void setExchangePerson(Long exchangePerson) {
        this.exchangePerson = exchangePerson;
    }

    public Long getProcessId() {
        return processId;
    }

    public void setProcessId(Long processId) {
        this.processId = processId;
    }

    public Date getDatetime() {
        return datetime;
    }

    public void setDatetime(Date datetime) {
        this.datetime = datetime;
    }

    public Long getByWho() {
        return byWho;
    }

    public void setByWho(Long byWho) {
        this.byWho = byWho;
    }

    public Byte getDeleted() {
        return deleted;
    }

    public void setDeleted(Byte deleted) {
        this.deleted = deleted;
    }
}